//
//  MainManager.h
//  KingSelected
//
//  Created by 杨鹏 on 2023/10/27.
//

#import <Foundation/Foundation.h>
#import "UserModel.h"

NS_ASSUME_NONNULL_BEGIN

#define kUserAccount [MainManager sharedManager]

@interface MainManager : NSObject

+ (MainManager *)sharedManager;

@property (nonatomic, copy) NSString *token;
@property (nonatomic, strong) UserModel *user;

- (BOOL)isLogin;
- (void)logout;
- (void)setRootController;

@end

NS_ASSUME_NONNULL_END
